package com.bawei.hfgc.databinding;

import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;

import android.os.Bundle;

import com.bawei.hfgc.R;

public class BasisActivity extends AppCompatActivity {
private String content="hhhhhh";
private ActivityBasisBinding binding;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
         binding = DataBindingUtil.setContentView(this, R.layout.activity_basis);
        binding.setContent(content);

    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        binding.unbind();
    }
}